package com.free.bsf.demo;

import com.free.bsf.eureka.client.version.EurekaVersion;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "free-bsf-demo")
@EurekaVersion(version = 1,name = "AbstractDemo",project = "demo")
public interface AbstractDemo {
    @EurekaVersion(version = 2,name = "AbstractDemo2",project = "demo2")
    @GetMapping("/hello44444")
    Object hello444(String name);

    @EurekaVersion(version = 3,name = "AbstractDemo3",project = "demo2")
    @GetMapping("/hello2")
    Object hello2(String name);
}
